package com.house.service;

import com.house.entity.Order;

import java.util.List;

public interface OrderService {
    void createAppointment(Order order);

    void confirmAppointment(Long orderId, Long landlordId, String status);

    void payOrder(Long orderId, Long tenantId);

    List<Order> getOrdersByTenant(Long tenantId);

    List<Order> getOrdersByLandlord(Long landlordId);
}
